
body{
    background-color: #02030f;    
    color: #f1f5f9;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items:flex-start;
    
    min-height: 100vh;
    margin: 0;
  }



  .bgimg{
    position:fixed;
    width:100%;
    height: 120%;
    opacity: 50%;
    min-height:940px;
    min-width: 768px;
  }
  

    
  .cv-box {    
    display: flex;
    flex-direction: row;
    position:relative;
    columns: 2;
    background-color: #1e293b;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2%;    
    width: 75%;    
    max-width: 1000px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;    
    justify-content: center;
    margin-bottom: 4px;
    
  }





  

  .leftbox{
    display: flex;
    flex-direction: column;
    width: 48vh;   
  }
  .rigthbox{
  display: flex;
  flex-direction: column;
  width: 48vh; 
  justify-content: center;


  }

  .header-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .profile-pic {    
    width: 150px;
  height: 150px;
  border-radius: 30%;
  border: 2px solid #94a3b8;
  object-fit: cover;
  flex-shrink: 0
  }
  .IdProfesion{  
  display: flex;
  flex-direction: column;    
  margin: 1%;
  justify-content: space-around;
  
  }

  .IdProfesion h1{
    display: flex;
    flex: auto;
    margin: 2;
    width: 100%;    
    justify-content: center;
  }

  .IdProfesion p{
  display: flex;
  flex: auto;
  margin: 2;
  height: auto;
  width: 100%;
  color: #7644c3;
  }


  .aboutme{
    display: flex;
    font-style: normal;
    font-family: 'Times New Roman', Times, serif;
    font-weight:lighter;
    text-align: justify;
    font-style: normal;
    margin: 2;
  }
  .technologies {
    margin: 1.5rem 0;
    
  }
  
  .tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .tech-icons img {
    width: 40px;
    height: 40px;
  }
  
  .cv-buttons {
    margin-top: 1rem;
  }
  
  .cv-buttons button {
    margin: 0.3rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0,0,0,0.1);
    border:white;
    border-style: outset;
    border-width: 0.1rem;
    border-radius: 0.8rem;
    color: #7644c3;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .cv-buttons button:hover {
    background-color: #2563eb;
  }
  
  footer {
    margin-top: 2rem;    
  }
  
  footer a img {
    width: 24px;
    margin: 0 10px;
    filter: brightness(0.9);
    transition: transform 0.2s ease;
  }
  
  footer a:hover img {
    transform: scale(1.2);
  }
  
  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: transparent;
  }
  

  #Histogram{
    flex: auto;
    flex-direction:row;
    width: 400;
    height: 400;
    background-color: #7644c3;
    align-items: center;    
  }

  


  @media (max-width: 768px) {
    body{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100dvh;
        min-height: 100vh;        
    }
    
    .cv-box{
    position:relative;
    display: flex;
    flex-direction: column;
    width: 100dvh;    
    background-color: #1e293b;
    border-radius: 0;
    padding: 2rem;    
    margin:0; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    align-items: center;
    
        
    }

}

@media (max-width: 375px) {
    body{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100dvh;
        min-height: 100vh;        
    }
    .bgimg{
    position:fixed;
    width:100dvh;
    height: 1000dvh;
    opacity: 50%;
}
    
    
    .cv-box{
    position:relative;
    display: flex;
    flex-direction: column;
    width: 100dvh;    
    background-color: #1e293b;
    border-radius: 0;
    padding: 2rem;    
    margin:0; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    align-items: center; 
    }

    .header-container{
        justify-content: center;
    }

    .leftbox{
    display: flex;
    flex-direction: column;
    width: 60vh;   
    }

    


    .rigthbox{
    display: flex;
    flex-direction: column;
    width: 60vh; 
    justify-content: center;
    }
}